package com.huawei.hms.auth.api.phone;

import android.app.Activity;
import android.content.Context;
import com.huawei.hms.a.a.a.a;
import com.huawei.hms.a.a.a.b;
import com.huawei.hms.api.Api;
import com.huawei.hms.api.HuaweiApiAvailability;

public class SmsRetriever {
    public static final String EXTRA_SMS_MESSAGE = "com.huawei.hms.auth.api.phone.EXTRA_SMS_MESSAGE";
    public static final String EXTRA_STATUS = "com.huawei.hms.auth.api.phone.EXTRA_STATUS";
    public static final String SMS_RETRIEVED_ACTION = "com.huawei.hms.auth.api.phone.SMS_RETRIEVED";
    private static final Api<a> a = new Api(HuaweiApiAvailability.HMS_API_NAME_ID);
    private static final b b = new b();

    public static SmsRetrieverClient getClient(Activity activity) {
        return new SmsRetrieverClient(activity, a, null, b);
    }

    public static SmsRetrieverClient getClient(Context context) {
        return new SmsRetrieverClient(context, a, null, b);
    }

    private SmsRetriever() {
    }
}
